package top.usking.tools.log.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Customer log service.
 *
 * @author shijin.liu
 * @since 2022-01-27
 */
@ConfigurationProperties(prefix = "top.usking.log.output")
public class CustomerLogService {

    private boolean enabled = true;
    private boolean withJson = false;

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public boolean isWithJson() {
        return withJson;
    }

    public void setWithJson(boolean withJson) {
        this.withJson = withJson;
    }
}
